package com.java.system.common.entity.admin;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户岗位关联表(SysUserPos)实体类
 *
 * @author yangyuwei
 * @since 2019-06-11 10:56:59
 */
@Data
@Accessors(chain = true)
public class SysUserPos implements Serializable {
    private static final long serialVersionUID = 658545652005470553L;
    @Id
    private String id;
    //用户id
    private String userId;
    //岗位id
    private String posId;
    //公司id
    private String coId;
    //创建时间
    @Column(name = "crt_time")
    private Date crtTime;

    //创建人id
    @Column(name = "crt_user")
    private String crtUser;

    //创建人名称
    @Column(name = "crt_name")
    private String crtName;

    //创建人IP
    @Column(name = "crt_host")
    private String crtHost;
}